package com.soft.javase.day04.interfaces;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/21
 */
public class Test {
    public static void main(String[] args) {
        Employee employee = new Employee("张三", "合肥市蜀山区", "1001", 5000.0, 3);
        Manager manager = new Manager("李四", "上海市浦东区", "2002", 10000.0, 5, "高级经理");

        System.out.println("涨薪前信息:");
        System.out.println(employee);
        System.out.println(manager);

        employee.raiseSalary();
        manager.raiseSalary();

        System.out.println("\n涨薪后信息:");
        System.out.println(employee);
        System.out.println(manager);
    }
}
